package jihe;

import java.util.ArrayList;

/**
 * @Author admin
 * @Date 2019/3/27 11:30
 */
public class ArrayListTest {
    public static void main(String[] args) {
        ArrayList arrayList= new ArrayList();
        arrayList.add("hello");
        arrayList.add("java");
        arrayList.add("mysql");
        System.out.println(arrayList.get(0));
        System.out.println(arrayList.size());

        int s=0;
        ArrayList arrayListTest2=new ArrayList();
        arrayListTest2.add(s);



    }
}
